{{extend defaultLayout}}

{{block 'css'}}
<link rel="stylesheet" type="text/css" href="{{_res_path}}/help/index.css"/>
{{/block}}

{{block 'main'}}
<div class="info_box">
  <div class="head-box type{{bgType}}">
    <div class="title">使用帮助</div>
    <div class="label">Yunzai-Bot & Miao-Plugin</div>
  </div>
</div>

{{each helpCfg helpGroup}}
<div class="cont-box">
  <div class="help-group">{{helpGroup.group}}</div>
  <div class="help-table">
    {{each helpGroup.list help idx}}
    {{if idx%3 == 0}}
    <div class="tr">
      {{/if}}
      <div class="td">
        <span class="help-icon" style="{{help.css}}"></span>
        <strong class="help-title">{{help.title}}</strong>
        <span class="help-desc">{{help.desc}}</span>
      </div>
      {{if idx%3 ==2 || idx == helpGroup.list.length -1}}
    </div>
    {{/if}}
    {{/each}}
  </div>
</div>
{{/each}}
{{/block}}